Optimal. Leaf size=171 \[ \frac {(b c-a d)^2 x^{1+m}}{4 c d^2 \left (c+d x^2\right )^2}-\frac {(b c-a d) (a d (3-m)+b c (5+m)) x^{1+m}}{8 c^2 d^2 \left (c+d x^2\right )}+\frac {\left (2 a b c d \left (1-m^2\right )+a^2 d^2 \left (3-4 m+m^2\right )+b^2 c^2 \left (3+4 m+m^2\right )\right ) x^{1+m} \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )}{8 c^3 d^2 (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 166, normalized size of antiderivative = 0.97, number of steps
used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {474, 468, 371}
\begin {gather*} \frac {x^{m+1} \left (\frac {(1-m) \left (4 a^2 d^2-(m+1) (b c-a d)^2\right )}{c^2 (m+1)}+4 b^2\right ) \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\frac {d x^2}{c}\right )}{8 c d^2}-\frac {x^{m+1} (b c-a d) (a d (3-m)+b c (m+5))}{8 c^2 d^2 \left (c+d x^2\right )}+\frac {x^{m+1} (b c-a d)^2}{4 c d^2 \left (c+d x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 468
Rule 474
Rubi steps
\begin {align*} \int \frac {x^m \left (a+b x^2\right )^2}{\left (c+d x^2\right )^3} \, dx &=\frac {(b c-a d)^2 x^{1+m}}{4 c d^2 \left (c+d x^2\right )^2}-\frac {\int \frac {x^m \left (-4 a^2 d^2+(b c-a d)^2 (1+m)-4 b^2 c d x^2\right )}{\left (c+d x^2\right )^2} \, dx}{4 c d^2}\\ &=\frac {(b c-a d)^2 x^{1+m}}{4 c d^2 \left (c+d x^2\right )^2}-\frac {(b c-a d) (a d (3-m)+b c (5+m)) x^{1+m}}{8 c^2 d^2 \left (c+d x^2\right )}+-\frac {\left (-4 b^2 c^2 d (1+m)-d (-1+m) \left (-4 a^2 d^2+(b c-a d)^2 (1+m)\right )\right ) \int \frac {x^m}{c+d x^2} \, dx}{8 c^2 d^3}\\ &=\frac {(b c-a d)^2 x^{1+m}}{4 c d^2 \left (c+d x^2\right )^2}-\frac {(b c-a d) (a d (3-m)+b c (5+m)) x^{1+m}}{8 c^2 d^2 \left (c+d x^2\right )}+\frac {\left (4 b^2 c^2 (1+m)+(1-m) \left (4 a^2 d^2-(b c-a d)^2 (1+m)\right )\right ) x^{1+m} \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )}{8 c^3 d^2 (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.40, size = 124, normalized size = 0.73 \begin {gather*} \frac {x^{1+m} \left (b^2 c^2 \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )-(b c-a d) \left (2 b c \, _2F_1\left (2,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )+(-b c+a d) \, _2F_1\left (3,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )\right )\right )}{c^3 d^2 (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {x^{m} \left (b \,x^{2}+a \right )^{2}}{\left (d \,x^{2}+c \right )^{3}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{m} \left (a + b x^{2}\right )^{2}}{\left (c + d x^{2}\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^m\,{\left (b\,x^2+a\right )}^2}{{\left (d\,x^2+c\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________